Skip to content

refactor: organize model registry and infrastructure packages - #4

Merged
WaVEV merged 1 commit into
mongodb-developer:mainfrom
WaVEV:refactor/store-package-boundaries
Sep 29, 2026
Merged

WaVEV merged 1 commit into
mongodb-developer:mainfrom
WaVEV:refactor/store-package-boundaries

Conversation

@WaVEV

@WaVEV WaVEV commented Sep 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Reorganizes the package around the model-registry store boundary. The store, repositories, persistence types, and domain errors now live under model_registry/. MongoDB settings and reusable array-update helpers live under infrastructure/.

mlflow_mongodb/
├── infrastructure/
│   ├── __init__.py
│   ├── _array_updates.py
│   └── settings.py
├── model_registry/
│   ├── __init__.py
│   ├── errors.py
│   ├── store.py
│   ├── types.py
│   └── repositories/
│       ├── __init__.py
│       ├── model_versions.py
│       └── registered_models.py
└── __init__.py

The idea is to organize the package by MLflow store boundary: tracking and model registry are separate interfaces, so each should own its store code and repositories. Only infrastructure they genuinely share belongs in infrastructure/.

@WaVEV
WaVEV marked this pull request as ready for review September 27, 2026 21:21
@WaVEV
WaVEV merged commit 3c6d77b into mongodb-developer:main Sep 29, 2026
5 checks passed
@WaVEV
WaVEV deleted the refactor/store-package-boundaries branch September 29, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants